import request from '@/utils/request'


// 查询商户信息详细
export function getMchVA(mchNo) {
  return request({
    url: '/mch/va/' + mchNo,
    method: 'get'
  })
}
export function updateMchVA(data) {
  return request({
    url: '/mch/va/',
    method: 'put',
    data: data
  })
}

export function mchVAIfList(mchNo) {
  return request({
    url: '/mch/va/ifConfig/' + mchNo,
    method: 'get'
  })
}

export function updateMchVAIf(data) {
  return request({
    url: '/mch/va/ifConfig/' ,
    data: data,
    method: 'post'
  })
}
export function singleAccount(provider) {
  return request({
    url: '/mch/va/singleAccount?provider=' + provider,
    method: 'get'
  })
}
